package com.smedi.ismedi.dangeroussourcemanage.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 危险源库主表Entity类
 *
 * @author xienannan
 * @date 2021/08/23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "dsm_dangerous_source_library")
public class DangerousSourceLibraryEntity extends BasicFieldEntity implements Serializable {
    /**
     * id
     */
    @TableField(value = "id")
    private Long id;
    /**
     * 需专家评审分项
     */
    @TableField(value = "expert_review_sub_item")
    private String expertReviewSubItem;

    /**
     * 易发事故隐患
     */
    @TableField(value = "prone_accident")
    private String proneAccident;

    /**
     * 施工阶段
     */
    @TableField(value = "construction_phase")
    private String constructionPhase;

    /**
     * 工程类别
     */
    @TableField(value = "engineering_category")
    private String engineeringCategory;

    /**
     * 分部分项工程名称
     */
    @TableField(value = "sub_item_project_name")
    private String subItemProjectName;

    /**
     * 主要施工内容
     */
    @TableField(value = "construction_content")
    private String constructionContent;

    /**
     * 重点危险源
     */
    @TableField(value = "key_hazards")
    private String keyHazards;

    /**
     * 针对防控措施
     */
    @TableField(value = "measures")
    private String measures;
}